FROM amazoncorretto:22-alpine3.20
LABEL authors="wyd"

RUN mkdir -p /opt/java

WORKDIR  /opt/java
ENV profile=dev
CMD ls && java -jar *.jar --spring.profiles.active=${profile}

